import http from "@/utils/http";
// 获取角色列表
export async function getRoleListApi(param) {
    return await http.get("api/role/list", param)
}

// 新增角色
export async function addRoleApi(parm) {
    return await http.post("/api/role", parm)
}

//编辑角色
export async function editRoleApi(param) {
    return await http.put("/api/role", param)
}
//删除角色
export async function deleteRoleApi(param) {
    return await http.delete("/api/role", param)
}